#ifndef __BSP_H__
#define __BSP_H__

#include "ucos_ii.h"
#include "bsp_gpio.h"

__packed  typedef struct {
    INT8U  sec  ; 
    INT8U  mint ; 
    INT8U  hou  ;
    INT8U  week ;
    INT8U  day  ; 
    INT8U  mon  ;
    INT8U  year ; 
} Bsp_Tim ;

#define IT_MAIN_PRIOITY0         0
#define IT_MAIN_PRIOITY1         1
#define IT_MAIN_PRIOITY2         2
#define IT_MAIN_PRIOITY3         3
#define IT_MAIN_PRIOITY4         4
#define IT_MAIN_PRIOITY5         5
#define IT_MAIN_PRIOITY6         6
#define IT_MAIN_PRIOITY7         7

#define IT_SUB_PRIOITY0          0
#define IT_SUB_PRIOITY1          1


void LED_R_Task(void *p_arg);
void LED_G_Task(void *p_arg);

#endif



